Package com.cisco.pt.ipc.sim.impl
Class OSPFNeighborTableImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.OSPFNeighborTableImpl
- All Implemented Interfaces:
IPCObject,OSPFNeighborTable
Information provided by the PKI file:
\class OspfNeighborTable
\brief OspfNeighborTable handles and manipulates OSPF neighbor tables.
\example network().getDevice("Router0").getProcess("OspfMainProcess").getOspfProcessAt(0).getAreaAt(0).getNeighborTable("Serial0/0/0")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionOSPFNeighborTableImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetAdjNeighborAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:getNeighborAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:getPort()Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
OSPFNeighborTableImpl
public OSPFNeighborTableImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getNeighborAt
Information provided by the PKI file:
\brief Returns the neighbor at the specified index. \param index, the index of the neighbor of interest. \return OspfNeighbor, the OspfNeighbor object at the specified index.- Specified by:
getNeighborAtin interfaceOSPFNeighborTable- Parameters:
index- Takes in a parameter of index- Returns:
- OSPFNeighbor Returns a OSPFNeighbor
-
getNeighborCount
public int getNeighborCount()Information provided by the PKI file:
\brief Returns the number of neighbors. \return int, the number of neighbors.- Specified by:
getNeighborCountin interfaceOSPFNeighborTable- Returns:
- int Returns a int
-
getPort
Information provided by the PKI file:
\brief Returns the port of this neighbor table. \return RouterPort, the RouterPort object of this neighbor table.- Specified by:
getPortin interfaceOSPFNeighborTable- Returns:
- RouterPort Returns a RouterPort
-
getAdjNeighborCount
public int getAdjNeighborCount()Information provided by the PKI file:
\brief Returns the number of adjacent neighbors. \return int, the number of adjacent neighbors.- Specified by:
getAdjNeighborCountin interfaceOSPFNeighborTable- Returns:
- int Returns a int
-
getAdjNeighborAt
Information provided by the PKI file:
\brief Returns the IP address of the adjacent neighbor at the specified index. \param index, the index of the adjacent neighbor of interest. \return ip, the IP address of the adjacent neighbor at the specified index.- Specified by:
getAdjNeighborAtin interfaceOSPFNeighborTable- Parameters:
index- Takes in a parameter of index- Returns:
- IPAddress Returns a IPAddress
-
getFloodLength
public int getFloodLength()Information provided by the PKI file:
\brief Returns the flood length. \return int, the flood length.- Specified by:
getFloodLengthin interfaceOSPFNeighborTable- Returns:
- int Returns a int
-
getLastFloodLength
public int getLastFloodLength()Information provided by the PKI file:
\brief Returns the last flood length. \return int, the last flood length.- Specified by:
getLastFloodLengthin interfaceOSPFNeighborTable- Returns:
- int Returns a int
-
getMaxFloodLength
public int getMaxFloodLength()Information provided by the PKI file:
\brief Returns the maximum flood length. \return int, the maximum flood length.- Specified by:
getMaxFloodLengthin interfaceOSPFNeighborTable- Returns:
- int Returns a int
-
getLastFloodTime
public int getLastFloodTime()Information provided by the PKI file:
\brief Returns the last flood time. \return int, the last flood time.- Specified by:
getLastFloodTimein interfaceOSPFNeighborTable- Returns:
- int Returns a int
-
getMaxFloodTime
public int getMaxFloodTime()Information provided by the PKI file:
\brief Returns the maximum flood time. \return int, the maximum flood time.- Specified by:
getMaxFloodTimein interfaceOSPFNeighborTable- Returns:
- int Returns a int
-